Skip to content

docs: 3.2 upgrade section for remember-me with two-factor sign-in - #198

Merged
armanist merged 1 commit into
stagingfrom
docs/auth-remember-upgrade-guide
Nov 26, 2026
Merged

armanist merged 1 commit into
stagingfrom
docs/auth-remember-upgrade-guide

Conversation

@armanist

Copy link
Copy Markdown
Collaborator

For #196 (not closed here: merges into staging close nothing). The page changes for the same ticket are in #197.

Framework change: quantum-php/framework#707 (PR quantum-php/framework#713).

Summary

Upgrade guide, "Upgrading from 3.1 to 3.2": new section "Remember-me with two-factor sign-in" for the session adapter with two_fa on:

  • the remember cookie is set when verifyOtp() accepts the OTP, in the browser that called signin();
  • remember tokens issued before the upgrade are not revoked, so applications clear the field their userSchema() maps rememberToken to, with a SQL example for the starter project's users table;
  • verifyOtp() and a remember-cookie sign-in give the session a new ID, with its data kept.

"Check the upgrade" becomes section 13.

Changed paths

  • v3.0/upgrade-guide.md

SUMMARY.md is unchanged: no pages were added, moved or removed.

@armanist
armanist merged commit 645dda4 into staging Nov 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant